package com.dbsop.common.enums;

import java.io.Serializable;

public enum AnalyzerEnums implements Serializable {
    STANDARD("standard","ES 默认分词器(慎用 -->会瞎几把拆分)"),
    IK_MAX_WORD("ik_max_word","文本细粒度的拆分"),
    IK_SMART("ik_smart","文本粗粒度拆分");
    private String analyzer;
    private String remake;


     AnalyzerEnums(String analyzer, String remake) {
        this.analyzer = analyzer;
        this.remake = remake;
    }

    public void setAnalyzer(String analyzer) {
        this.analyzer = analyzer;
    }

    public void setRemake(String remake) {
        this.remake = remake;
    }

    public String getAnalyzer() {
        return analyzer;
    }

    public String getRemake() {
        return remake;
    }
}
